﻿using DbUp;
using DbUp.Engine;
using DbUp.Engine.Output;
using log4net;
using System;
using System.Diagnostics;

namespace ServiceControllerApp.SqlImporter
{
    public class DbUpLogger : IUpgradeLog
    {
        public void LogDebug(string format, params object[] args)
        {
            System.Diagnostics.Debug.WriteLine(format);
            //throw new NotImplementedException();
        }

        public void LogError(string format, params object[] args)
        {
            System.Diagnostics.Debug.WriteLine(format);
            //throw new NotImplementedException();
        }

        public void LogError(Exception ex, string format, params object[] args)
        {
            System.Diagnostics.Debug.WriteLine(format);
            //throw new NotImplementedException();
        }

        public void LogInformation(string format, params object[] args)
        {
            System.Diagnostics.Debug.WriteLine(format);
            //throw new NotImplementedException();
        }

        public void LogTrace(string format, params object[] args)
        {
            System.Diagnostics.Debug.WriteLine(format);
            //throw new NotImplementedException();
        }

        public void LogWarning(string format, params object[] args)
        {
            System.Diagnostics.Debug.WriteLine(format);
            //throw new NotImplementedException();
        }
    }

}
